package com.mop.app.global.constants;


/**
 * 常量配置
 *
 * @author
 */
public class AppConstants {
    public static final String TEST_TOKEN = "APP_TOKEN_60aad516-e40c-4ba8-888f-6ea9fc3ac8f5";
    public static final Long TEST_USER_ID = 2L;
    public static final String DEFAULT_UNKNOWN = "UNKNOWN";
    public static final String DEFAULT_ENUM_UNKNOWN = "NO";

    public static final String APP_USER_STATE_REGISTERED = "REGISTERED";

    public static final String APP_CACHE_CODE = "APP_CODE_";
    public static final String APP_CACHE_CODE_COUNT = "APP_CODE_COUNT_";
    public static final String APP_CACHE_TOKEN = "APP_TOKEN_";
    public static final long APP_EXPIRED_MILL_SECOND_CODE = 5 * 60L;
    public static final long APP_EXPIRED_MILL_SECOND_TOKEN = 7 * 24 * 60 * 60L;
    public static final long APP_EXPIRED_MILL_SECOND_LANGUAGE = 7 * 24 * 60 * 60L;
    public static final long APP_EXPIRED_MILL_SECOND_CODE_COUNT = 24 * 60 * 60L;
    public static final long APP_EXPIRED_MILL_SECOND_OCR_LIMIT_COUNT = 10 * 60L;
    public static final String USER_NAME = "userName";
    public static final String USER_ID = "userId";
    public static final String PASSWORD = "password";
    public static final String LIMIT_ONE = " limit 1";
    public static final String APP_RISK_ORG_NO = "sh_fk";
    public static final String APP_OCR_LIMIT = "APP_OCR_";
    public static final String APP_OCR_LIMIT_COUNT = "app_ocr_limit_count";

    public static final String APP_USER_LIVENESS_SCORE_LIMIT = "liveness_score_limit";
    public static final String APP_USER_COMPARISON_SCORE_LIMIT = "comparison_score_limit";
    public static final String APP_USER_AUTH_CONTACT_NUM = "contact_num";
    public static final String APP_USER_LOGIN_TYPE = "login_type";
    public static final String APP_USER_PAY_TYPE = "pay_type";
    public static final String APP_USER_SMS_CODE_COUNT_LIMIT = "sms_code_limit";
    public static final String APP_THIRD_AUTH_CODE = "app_third_auth_code";
    public static final String APP_COLLECTION_GE_REPAY_H5_CONFIG= "app_colle_repay_h5_config";

    public static final String GOOGLE_PLAY_ADDRESS = "https://play.google.com/store/apps/details";


    //redis key
    /**
     * 转账支持银行卡缓存key
     */
    public static final String KEY_QUERY_BANK_SUPPORT = "query_bank_support";
    /**
     * 转账支持银行卡查询间隔(分钟)
     */
    public static final int SUPPORT_BANK_QUERY_INTERVAL = 60;


    //mongo 表名配置
    public static final String MONGO_TABLE_APPLY_BORROW = "app_loan_ext";
    public static final String MONGO_TABLE_APPLY_CONTACT_INFO = "app_contact_info";
    public static final String MONGO_TABLE_APPLY_CONTACT_REQLOG = "app_contact_info_reqlog";
    
    //风控指标表名汇总	begin
    //借款指标表名称
    public static final String MONGO_USER_BORROW_MERTRICS_TABLE_NAME = "arcUserBorrowMertrics";
    //通讯录指标表名称
    public static final String MONGO_USER_CONTACTS_MERTRICS_TABLE_NAME = "arcUserContactsMertrics";
    //紧急联系人指标表名称
    public static final String MONGO_USER_EMERGENCY_CONTACTS_MERTRICS_TABLE_NAME = "arcUserEmergencyContactsMertrics";
    //用户贷后行为指标表名称
    public static final String MONGO_USER_USER_BEHAVIOR_INDEX_MERTRICS_TABLE_NAME = "arcUserBehaviorIndex";
    //风控指标表名汇总	end
    
    //风控指标涉及敏感词配置相关key对应配置code
    //通讯录中含敏感词的号码数量
    public static final String FK_MERTRICS_SENTIVE_WRODS_COMMON = "fk_sentive_world_common";
    //高危职业风险号码数
    public static final String FK_MERTRICS_SENTIVE_WRODS_HIGHRISK = "fk_sentive_world_highrisk";
    //家人号码数
    public static final String FK_MERTRICS_SENTIVE_WRODS_FAMILY = "fk_sentive_world_family";
    
    public static final String MAX_TIME = "23:59:59";
    public static final String YYYY_MM_DD_HH_MM_SS = "yyyy-MM-dd HH:mm:ss";
    public static final String DD_MM_YYYY_HH_MM_SS = "dd-MM-yyyy HH:mm:ss";
    public static final String DD_MM_YYYY = "dd-MM-yyyy";
}
